<?php
class ManageImage extends Module{
	function ManageImage($row){
		Module::Module($row);

        switch (Url::get('cmd'))
		{
            case 'upload':
                require_once "forms/ManageImageUpload.php";
		        $this->add_form(new ManageImageUploadForm());
                break;
            default:
                require_once "forms/ManageImageList.php";
		        $this->add_form(new ManageImageListForm());
        }
	}

    /*static function permission(){
        return array(
            "add_hotel"  => "Tạo mới KS",
            "edit_hotel"  => "Sửa KS",
        );
    }*/
}
?>